<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            display: flex;
            justify-content: center;
            align-items: center;
            background: #f0f0f0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .loading-container {
            position: relative;
            width: 150px;
            height: 150px;
        }

        .loader {
            position: relative;
            width: 80px;
            height: 80px;
            margin: 50px auto;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .dot {
            position: absolute;
            width: 24px;
            height: 24px;
            background: #3498db;
            border-radius: 50%;
            animation: pulse 0.8s infinite ease-in-out;
        }

        .dot:nth-child(1) {
            transform: rotate(0deg) translate(50px) rotate(0deg);
        }

        .dot:nth-child(2) {
            transform: rotate(45deg) translate(50px) rotate(-45deg);
        }

        .dot:nth-child(3) {
            transform: rotate(90deg) translate(50px) rotate(-90deg);
        }

        .dot:nth-child(4) {
            transform: rotate(135deg) translate(50px) rotate(-135deg);
        }

        .dot:nth-child(5) {
            transform: rotate(180deg) translate(50px) rotate(-180deg);
        }

        .dot:nth-child(6) {
            transform: rotate(225deg) translate(50px) rotate(-225deg);
        }

        .dot:nth-child(7) {
            transform: rotate(270deg) translate(50px) rotate(-270deg);
        }

        .dot:nth-child(8) {
            transform: rotate(315deg) translate(50px) rotate(-315deg);
        }

        @keyframes pulse {

            0%,
            100% {
                transform: scale(0.5) rotate(inherits);
                opacity: 1;
            }

            50% {
                transform: scale(1) rotate(inherits);
                opacity: 0.3;
                background-color: pink;
            }
        }

        .dot:nth-child(1) {
            animation-delay: 0.1s;
        }

        .dot:nth-child(2) {
            animation-delay: 0.2s;
        }

        .dot:nth-child(3) {
            animation-delay: 0.3s;
        }

        .dot:nth-child(4) {
            animation-delay: 0.4s;
        }

        .dot:nth-child(5) {
            animation-delay: 0.5s;
        }

        .dot:nth-child(6) {
            animation-delay: 0.6s;
        }

        .dot:nth-child(7) {
            animation-delay: 0.7s;
        }

        .dot:nth-child(8) {
            animation-delay: 0.8s;
        }
    </style>
</head>

<body>
    <div class="loading-container">
        <div class="loader">
            <div class="dot"></div>
            <div class="dot"></div>
            <div class="dot"></div>
            <div class="dot"></div>
            <div class="dot"></div>
            <div class="dot"></div>
            <div class="dot"></div>
            <div class="dot"></div>
        </div>
    </div>
</body>

</html>